home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2002 November / SGI Freeware 2002 November - Disc 2.iso / dist / fw_libghttp.idb / usr / freeware / include / ghttp_constants.h.z / ghttp_constants.h
C/C++ Source or Header  |  2001-04-12  |  3KB  |  106 lines

  1. /*
  2.  * ghttp_constants.h -- definitions for char constants that people
  3.  *                      might want to use
  4.  * Created: Christopher Blizzard <blizzard@appliedtheory.com>
  5.  *
  6.  * Copyright (C) 1998 Free Software Foundation
  7.  *
  8.  * This library is free software; you can redistribute it and/or
  9.  * modify it under the terms of the GNU Library General Public
  10.  * License as published by the Free Software Foundation; either
  11.  * version 2 of the License, or (at your option) any later version.
  12.  *
  13.  * This library is distributed in the hope that it will be useful,
  14.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  16.  * Library General Public License for more details.
  17.  *
  18.  * You should have received a copy of the GNU Library General Public
  19.  * License along with this library; if not, write to the Free
  20.  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  21.  */
  22.  
  23. #ifndef GHTTP_CONSTANTS_H
  24. #define GHTTP_CONSTANTS_H
  25.  
  26. #ifdef __cplusplus
  27. extern "C" {
  28. #endif /* __cplusplus */
  29.  
  30. extern const char http_hdr_Allow[];
  31. extern const char http_hdr_Content_Encoding[];
  32. extern const char http_hdr_Content_Language[];
  33. extern const char http_hdr_Content_Length[];
  34. extern const char http_hdr_Content_Location[];
  35. extern const char http_hdr_Content_MD5[];
  36. extern const char http_hdr_Content_Range[];
  37. extern const char http_hdr_Content_Type[];
  38. extern const char http_hdr_Expires[];
  39. extern const char http_hdr_Last_Modified[];
  40.  
  41. /* general headers */
  42.  
  43. extern const char http_hdr_Cache_Control[];
  44. extern const char http_hdr_Connection[];
  45. extern const char http_hdr_Date[];
  46. extern const char http_hdr_Pragma[];
  47. extern const char http_hdr_Transfer_Encoding[];
  48. extern const char http_hdr_Update[];
  49. extern const char http_hdr_Trailer[];
  50. extern const char http_hdr_Via[];
  51.  
  52. /* request headers */
  53.  
  54. extern const char http_hdr_Accept[];
  55. extern const char http_hdr_Accept_Charset[];
  56. extern const char http_hdr_Accept_Encoding[];
  57. extern const char http_hdr_Accept_Language[];
  58. extern const char http_hdr_Authorization[];
  59. extern const char http_hdr_Expect[];
  60. extern const char http_hdr_From[];
  61. extern const char http_hdr_Host[];
  62. extern const char http_hdr_If_Modified_Since[];
  63. extern const char http_hdr_If_Match[];
  64. extern const char http_hdr_If_None_Match[];
  65. extern const char http_hdr_If_Range[];
  66. extern const char http_hdr_If_Unmodified_Since[];
  67. extern const char http_hdr_Max_Forwards[];
  68. extern const char http_hdr_Proxy_Authorization[];
  69. extern const char http_hdr_Range[];
  70. extern const char http_hdr_Referrer[];
  71. extern const char http_hdr_TE[];
  72. extern const char http_hdr_User_Agent[];
  73.  
  74. /* response headers */
  75.  
  76. extern const char http_hdr_Accept_Ranges[];
  77. extern const char http_hdr_Age[];
  78. extern const char http_hdr_ETag[];
  79. extern const char http_hdr_Location[];
  80. extern const char http_hdr_Retry_After[];
  81. extern const char http_hdr_Server[];
  82. extern const char http_hdr_Vary[];
  83. extern const char http_hdr_Warning[];
  84. extern const char http_hdr_WWW_Authenticate[];
  85.  
  86. /* Other headers */
  87.  
  88. extern const char http_hdr_Set_Cookie[];
  89.  
  90. /* WebDAV headers */
  91.  
  92. extern const char http_hdr_DAV[];
  93. extern const char http_hdr_Depth[];
  94. extern const char http_hdr_Destination[];
  95. extern const char http_hdr_If[];
  96. extern const char http_hdr_Lock_Token[];
  97. extern const char http_hdr_Overwrite[];
  98. extern const char http_hdr_Status_URI[];
  99. extern const char http_hdr_Timeout[];
  100.  
  101. #ifdef __cplusplus
  102. }
  103. #endif /* __cplusplus */
  104.  
  105. #endif /* GHTTP_CONSTANTS_H */
  106.